Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 4 - Geometric Objects / Geometric Objects Reference
Geometric Objects Routines / Creating and Editing NURB Curves


Q3NURBCurve_SetControlPoint

You can use the Q3NURBCurve_SetControlPoint function to set a four-dimensional control point for a NURB curve.

TQ3Status Q3NURBCurve_SetControlPoint (
TQ3GeometryObject curve, 
unsigned long pointIndex, 
const TQ3RationalPoint4D *point4D);
curve
A NURB curve.
pointIndex
An index into the controlPoints array of control points for the specified NURB curve.
point4D
The desired four-dimensional control point.
DESCRIPTION
The Q3NURBCurve_SetControlPoint function sets the four-dimensional control point of the NURB curve specified by the curve parameter having the index in the array of control points specified by the pointIndex parameter to the point specified by the point4D parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996